.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid red;
    border-bottom-color: red;
}
li a {
    color: #bbb;
    font-size: 14px;
    cursor: pointer;
}

.border{
    width: 150px;
    height:150px;
    border: 1px solid #ccc;
    margin: 20px auto 0;
}
.tab-content p {
    text-align: center;
    margin-top: 8px;
}